package com.cdshangpai.utils.db.beans;

import android.content.ContentValues;

import com.cdshangpai.utils.offlinecache.base.slot.IdPicker;
import com.cdshangpai.utils.offlinecache.base.slot.VersionPicker;

import lombok.Data;

//账号数据
@Data
public class Account implements IdPicker, VersionPicker {
    public Integer id;
    public String account;
    public String password;
    public String name;
    public String area;
    public String version;

    public ContentValues getValues()
    {
        ContentValues values=new ContentValues();
        values.put("id",id);
        values.put("account",account);
        values.put("password",password);
        values.put("name",name);
        values.put("area",area);
        values.put("version",version);
        return values;
    }
}
